package com.hogan.hoganproject.home.api;

import com.hogan.hoganproject.base.api.ApiConstant;
import com.hogan.hoganproject.base.api.protocol.JuHeProtocol;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * Author: chenhu
 * Time: 2020/9/1 14:48
 * Description do somethings
 */
public interface HomeApi {

//    @GET(ApiConstant.NEWS)
//    Observable<HoganProtocol<List<DataBean.ResultBean>>> getNewData(@QueryMap Map<String, String> params);

    @GET(ApiConstant.NEWS)
    Observable<JuHeProtocol<JuHeBean.ResultBean>> getTopNewData(@QueryMap Map<String, String> params);
}
